gtk4.git
13 years agotests: Add parsing test for keyframe parsing
Benjamin Otte [Thu, 19 Apr 2012 01:43:17 +0000 (03:43 +0200)]
tests: Add parsing test for keyframe parsing

Ensure we order properly when printing

13 years agotests: Add tests for keyframe parsing
Benjamin Otte [Thu, 19 Apr 2012 01:42:33 +0000 (03:42 +0200)]
tests: Add tests for keyframe parsing

Ensure we parse empty keyframes correctly

13 years agocssprovider: Add parsing support for @keyframes
Benjamin Otte [Thu, 19 Apr 2012 01:41:41 +0000 (03:41 +0200)]
cssprovider: Add parsing support for @keyframes

13 years agogtk.symbols fixup
Ryan Lortie [Mon, 17 Sep 2012 16:34:33 +0000 (12:34 -0400)]
gtk.symbols fixup

13 years agogtkmodelmenu: simplify logic, expose bind API
Ryan Lortie [Tue, 11 Sep 2012 15:38:06 +0000 (11:38 -0400)]
gtkmodelmenu: simplify logic, expose bind API

Make the main (and only) entry-point to gtkmodelmenu.c the now-public
gtk_menu_shell_bind_model().

Move the convenience constructors (gtk_menu_new_from_model() and
gtk_menu_bar_new_from_model()) to their proper files.

Remove the private header file.

Simplify the code a bit by making the initial populate part of the
bind() call.

https://bugzilla.gnome.org/show_bug.cgi?id=682831

13 years agoGtkAccelLabel: add manual accel API
Ryan Lortie [Mon, 10 Sep 2012 18:36:23 +0000 (14:36 -0400)]
GtkAccelLabel: add manual accel API

Add an API to GtkAccelLabel for hardcoding the accel key to be displayed
(ie: allowing us to bypass the GtkAccelGroup lookup).

Use that from the GMenuModel-based GtkMenu construction code instead of
passing around the accel group.

This makes accel labels work in bloatpad again.

This patch effectively removes any hope of automatic runtime accel
changes in GMenuModel-based menus without additional application
support but it leaves the door open for this to be supported again in
the future (if we decide that it's important).

https://bugzilla.gnome.org/show_bug.cgi?id=683738

13 years agoGtkModelMenuItem: add a submenu action attribute
Ryan Lortie [Fri, 24 Aug 2012 18:11:37 +0000 (14:11 -0400)]
GtkModelMenuItem: add a submenu action attribute

Add support for a stateful action associated with a submenu.  The action
state is set to TRUE when the menu is shown and FALSE when it is
unshown.

This is useful to avoid unnecessary processing for menus that have
frequently-changing content.

A possible future feature is to add support for asynchronously filling
the initial state of the menu by waiting until the action actually emits
its state-change signal to TRUE before showing the menu.

A silly example has been added to Bloatpad to demonstrate the new
feature.

https://bugzilla.gnome.org/show_bug.cgi?id=682630

13 years agoAdd example for "action-namespace" attribute
Lars Uebernickel [Thu, 13 Sep 2012 17:10:24 +0000 (13:10 -0400)]
Add example for "action-namespace" attribute

13 years agoUpdated Thai translation.
Theppitak Karoonboonyanan [Mon, 17 Sep 2012 15:37:40 +0000 (22:37 +0700)]
Updated Thai translation.

13 years agoAdd back gtk_css_provider_get_named
William Jon McCann [Mon, 17 Sep 2012 11:40:54 +0000 (07:40 -0400)]
Add back gtk_css_provider_get_named

Was in the original patch but was not in 1f5dea9 probably due to
a bad rebase.

https://bugzilla.gnome.org/show_bug.cgi?id=683896

13 years agomenubutton: set DROPDOWN_MENU hint on the menu toplevel
Cosimo Cecchi [Mon, 17 Sep 2012 13:50:03 +0000 (09:50 -0400)]
menubutton: set DROPDOWN_MENU hint on the menu toplevel

Restore the behavior introduced in
598163e52684019e4975c3d4ca728a54b00c2f74, which regressed in commit
5a3442bf9c470736c8846534607be5825c22410b.

13 years agoDo not introspect gtk_color_button_get_rgba.
Ignacio Casal Quinteiro [Mon, 17 Sep 2012 12:50:18 +0000 (14:50 +0200)]
Do not introspect gtk_color_button_get_rgba.

This method is deprecated so it gets in the way of the
implemented gtk_color_chooser_get_rgba.

13 years agoPreserve gtk_widget_get_default_style semantics
Matthias Clasen [Mon, 17 Sep 2012 11:51:04 +0000 (07:51 -0400)]
Preserve gtk_widget_get_default_style semantics

Make sure that we return a GtkStyle even if there's no screen yet.

13 years agoAssamese translation updated
Nilamdyuti Goswami [Mon, 17 Sep 2012 07:48:36 +0000 (13:18 +0530)]
Assamese translation updated

13 years agoMove the gtk_shadow_type check down to gtk_render_frame
Matthias Clasen [Mon, 17 Sep 2012 03:25:40 +0000 (23:25 -0400)]
Move the gtk_shadow_type check down to gtk_render_frame

In gtk_menu_bar_draw, the check for shadow type != none
disables rendering of the background instead of the frame.
The check should be moved down to gtk_render_frame.
Patch by Peter de Ridder,
http://bugzilla.gnome.org/show_bug.cgi?id=670390

13 years agobutton: Clear highlight when a button is removed from a container
Sébastien Granjoux [Sat, 26 May 2012 20:32:07 +0000 (22:32 +0200)]
button: Clear highlight when a button is removed from a container

A button is highlighted if the private variable in_button is TRUE.
This variable is set when the pointer is over the button and cleared when
it left the button. When a button is hidden while there is the pointer over
it, GTK generates a leave notification event, in_button is set to FALSE.
But when a button is removed from a container but not destroyed, it is
unrealized and loose its window. It cannot receive the leave notification
event and in_button stay TRUE. So when the button get a new parent it is still
highlighted.

https://bugzilla.gnome.org/show_bug.cgi?id=676890

13 years agoGtkAssistant: bgo#658694 - Unable to change current page in prepare handler
Sébastien Granjoux [Sat, 8 Sep 2012 12:21:32 +0000 (14:21 +0200)]
GtkAssistant: bgo#658694 - Unable to change current page in prepare handler

13 years agoDestroy the legacy style with the screen
William Jon McCann [Wed, 12 Sep 2012 21:29:58 +0000 (17:29 -0400)]
Destroy the legacy style with the screen

https://bugzilla.gnome.org/show_bug.cgi?id=683896

13 years agoDon't leak a ref to the tooltip window
William Jon McCann [Wed, 12 Sep 2012 20:43:32 +0000 (16:43 -0400)]
Don't leak a ref to the tooltip window

https://bugzilla.gnome.org/show_bug.cgi?id=683896

13 years agoDestroy the icon factory with the screen
William Jon McCann [Wed, 12 Sep 2012 17:19:54 +0000 (13:19 -0400)]
Destroy the icon factory with the screen

https://bugzilla.gnome.org/show_bug.cgi?id=683896

13 years agoDon't leak a ref to the settings
William Jon McCann [Wed, 12 Sep 2012 13:08:28 +0000 (09:08 -0400)]
Don't leak a ref to the settings

https://bugzilla.gnome.org/show_bug.cgi?id=683896

13 years agoBind the themes to the lifecycle of the screen
William Jon McCann [Tue, 11 Sep 2012 20:50:20 +0000 (16:50 -0400)]
Bind the themes to the lifecycle of the screen

https://bugzilla.gnome.org/show_bug.cgi?id=683896

13 years agoShut down a11y when an app shuts down
William Jon McCann [Fri, 14 Sep 2012 18:12:36 +0000 (14:12 -0400)]
Shut down a11y when an app shuts down

https://bugzilla.gnome.org/show_bug.cgi?id=684076

13 years agofontchooserwidget: scroll to the currently selected row
Colomban Wendling [Sun, 16 Sep 2012 17:17:08 +0000 (19:17 +0200)]
fontchooserwidget: scroll to the currently selected row

Scroll to the selection when setting it so the selected font is
visible on screen.  This is especially useful if an initial font is
set for the user to see it.

https://bugzilla.gnome.org/show_bug.cgi?id=684156

13 years agoLoad settings.ini also from XDG_CONFIG_DIRS
Ignacio Casal Quinteiro [Wed, 12 Sep 2012 14:10:56 +0000 (16:10 +0200)]
Load settings.ini also from XDG_CONFIG_DIRS

https://bugzilla.gnome.org/show_bug.cgi?id=683874

13 years agoAdd missing argument in GTK_SPINNER_GET_CLASS
Matthias Clasen [Sun, 16 Sep 2012 23:02:29 +0000 (19:02 -0400)]
Add missing argument in GTK_SPINNER_GET_CLASS

13 years agoUpdated Lithuanian properties translation
Aurimas Černius [Sun, 16 Sep 2012 20:13:43 +0000 (23:13 +0300)]
Updated Lithuanian properties translation

13 years agogtkoverlay: fix get-child-position annotation
Ignacio Casal Quinteiro [Sun, 16 Sep 2012 17:02:20 +0000 (19:02 +0200)]
gtkoverlay: fix get-child-position annotation

13 years agoUpdated Spanish translation
Daniel Mustieles [Sun, 16 Sep 2012 11:22:54 +0000 (13:22 +0200)]
Updated Spanish translation

13 years agoUpdated Spanish translation
Daniel Mustieles [Sun, 16 Sep 2012 11:22:41 +0000 (13:22 +0200)]
Updated Spanish translation

13 years agoPlug a leak
Matthias Clasen [Sun, 16 Sep 2012 04:48:42 +0000 (00:48 -0400)]
Plug a leak

13 years agogtk-demo: Plug 2 small memleaks
Matthias Clasen [Sun, 16 Sep 2012 04:48:18 +0000 (00:48 -0400)]
gtk-demo: Plug 2 small memleaks

13 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Chao-Hsiung Liao [Sun, 16 Sep 2012 04:39:07 +0000 (12:39 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)

13 years agoUpdated Danish translation
Ask H. Larsen [Sat, 15 Sep 2012 21:41:30 +0000 (23:41 +0200)]
Updated Danish translation

13 years agoUpdated Danish translation
Ask H. Larsen [Sat, 15 Sep 2012 21:40:17 +0000 (23:40 +0200)]
Updated Danish translation

13 years agoSmall tweaks to the DND docs
Matthias Clasen [Sat, 15 Sep 2012 20:15:22 +0000 (16:15 -0400)]
Small tweaks to the DND docs

As pointed out by Columban Wendling in
https://bugzilla.gnome.org/show_bug.cgi?id=684096,
the GtkWidget DND docs were referring to several drag context
members that are private, nowadays.

13 years agoFix a memory leak in GtkCssStringValue
Matthias Clasen [Fri, 14 Sep 2012 01:29:15 +0000 (21:29 -0400)]
Fix a memory leak in GtkCssStringValue

13 years agogtk-demo: Plug another small memleak
Matthias Clasen [Fri, 14 Sep 2012 01:23:12 +0000 (21:23 -0400)]
gtk-demo: Plug another small memleak

13 years agoUpdated Slovenian translation
Matej Urbančič [Sat, 15 Sep 2012 18:51:38 +0000 (20:51 +0200)]
Updated Slovenian translation

13 years agoUpdated Portuguese translation
Duarte Loreto [Sat, 15 Sep 2012 18:32:37 +0000 (19:32 +0100)]
Updated Portuguese translation

13 years agoUpdated Russian translation
Yuri Myasoedov [Sat, 15 Sep 2012 15:36:27 +0000 (19:36 +0400)]
Updated Russian translation

13 years agoUpdate French translation
Alexandre Franke [Sat, 15 Sep 2012 15:34:48 +0000 (17:34 +0200)]
Update French translation

13 years agoUpdated Indonesian translation
Andika Triwidada [Sat, 15 Sep 2012 10:44:42 +0000 (17:44 +0700)]
Updated Indonesian translation

13 years agoUpdated Greek translation
Tom Tryfonidis [Sat, 15 Sep 2012 09:17:22 +0000 (12:17 +0300)]
Updated Greek translation

13 years agoUpdated Galician translations
Fran Diéguez [Fri, 14 Sep 2012 23:59:20 +0000 (01:59 +0200)]
Updated Galician translations

13 years agoUpdated Polish translation
Piotr Drąg [Fri, 14 Sep 2012 21:50:52 +0000 (23:50 +0200)]
Updated Polish translation

13 years agoUpdated Polish translation
Piotr Drąg [Fri, 14 Sep 2012 21:49:34 +0000 (23:49 +0200)]
Updated Polish translation

13 years agocssimage: Make cross-fades cross-fade properly
Benjamin Otte [Fri, 14 Sep 2012 21:24:33 +0000 (17:24 -0400)]
cssimage: Make cross-fades cross-fade properly

We need to use OPERATOR_SOURCE to properly fade out the start image
when the end image contains transparency.

13 years agoAdded GtkActionGroup:accel-group property.
Juan Pablo Ugarte [Thu, 13 Sep 2012 19:00:32 +0000 (16:00 -0300)]
Added GtkActionGroup:accel-group property.
Fixes bug #671786 "Glade XML files cannot set an ImageMenuItem accelerator key from an Action"

13 years agotogglebutton: always set PRELIGHT state when in_button = TRUE
Cosimo Cecchi [Fri, 14 Sep 2012 17:03:07 +0000 (13:03 -0400)]
togglebutton: always set PRELIGHT state when in_button = TRUE

Previously, we would avoid setting the prelight state flag when
button_down was TRUE and draw_indicator = FALSE, which is the normal
case of a GtkToggleButton during a mouse press.
It looks like this behavior was introduced a long time ago with commit
b94e6c0a8036a0489ac8ca71de75ba7611218e50. I believe the reason was that
a widget in GTK2 couldn't have more than a single state (e.g.
hover+active) at a given moment.

https://bugzilla.gnome.org/show_bug.cgi?id=684038

13 years agoquartz: Bug 674108 - Hard crash due to wrong NSAutoreleasePool stacking
Michael Natterer [Fri, 14 Sep 2012 13:18:33 +0000 (15:18 +0200)]
quartz: Bug 674108 - Hard crash due to wrong NSAutoreleasePool stacking

Apply patch from Kristian Rietveld which addresses two issues
in gdkeventloop-quartz.c:

This patch moves the autorelease pool drain and introduces protection against
the invalidated ufds. Basically, when we suspect ufds has been invalidated by a
recursive main loop instance, we refrain from calling the collect function.
(cherry picked from commit 79b3326eaab18b942bd7e03ae8d24544182cb3dd)

13 years agoUpdated Serbian translation
Мирослав Николић [Fri, 14 Sep 2012 07:34:36 +0000 (09:34 +0200)]
Updated Serbian translation

13 years agoupdate Punjabi Translation
A S Alam [Fri, 14 Sep 2012 02:06:15 +0000 (07:36 +0530)]
update Punjabi Translation

13 years agogtk-demo: Plug a small memleak
Matthias Clasen [Fri, 14 Sep 2012 00:04:38 +0000 (20:04 -0400)]
gtk-demo: Plug a small memleak

13 years agostylecontext: fix a StyleData refleak
Cosimo Cecchi [Thu, 13 Sep 2012 17:48:43 +0000 (13:48 -0400)]
stylecontext: fix a StyleData refleak

We were failing to unref the style data in some code paths.

https://bugzilla.gnome.org/show_bug.cgi?id=683627

13 years agoUpdated Lithuanian properties translation
Aurimas Černius [Thu, 13 Sep 2012 19:55:30 +0000 (22:55 +0300)]
Updated Lithuanian properties translation

13 years agoUpdate French translation
Alexandre Franke [Thu, 13 Sep 2012 10:20:05 +0000 (12:20 +0200)]
Update French translation

13 years agoPlug a small memory leak
Matthias Clasen [Thu, 13 Sep 2012 04:14:16 +0000 (00:14 -0400)]
Plug a small memory leak

13 years agoFix doc comment
Matthias Clasen [Thu, 13 Sep 2012 04:10:50 +0000 (00:10 -0400)]
Fix doc comment

The setting was only introduced in 3.6.

13 years agoUpdated Greek translation
Tom Tryfonidis [Thu, 13 Sep 2012 00:13:55 +0000 (03:13 +0300)]
Updated Greek translation

13 years agoUpdated Portuguese translation
Duarte Loreto [Wed, 12 Sep 2012 22:23:32 +0000 (23:23 +0100)]
Updated Portuguese translation

13 years agoa11y: Solved leak on gtk_widget_accessible_get_description
Alejandro Piñeiro [Tue, 11 Sep 2012 19:17:22 +0000 (21:17 +0200)]
a11y: Solved leak on gtk_widget_accessible_get_description

https://bugzilla.gnome.org/show_bug.cgi?id=643611

13 years agotests: Add accelerator example to testmenubutton
Bastien Nocera [Wed, 12 Sep 2012 17:12:41 +0000 (18:12 +0100)]
tests: Add accelerator example to testmenubutton

https://bugzilla.gnome.org/show_bug.cgi?id=680962

13 years agoFinnish translation update by Jiri Grönroos
Timo Jyrinki [Wed, 12 Sep 2012 15:50:07 +0000 (18:50 +0300)]
Finnish translation update by Jiri Grönroos

13 years agoDon't rotate pdf landscape output
Adrian Johnson [Wed, 12 Sep 2012 09:34:09 +0000 (11:34 +0200)]
Don't rotate pdf landscape output

13 years agoUpdated Marathi Translations
Sandeep Sheshrao Shedmake [Wed, 12 Sep 2012 13:00:50 +0000 (18:30 +0530)]
Updated Marathi Translations

13 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 12 Sep 2012 09:22:23 +0000 (11:22 +0200)]
Updated Spanish translation

13 years agobox: Fix typo
Stefano Facchini [Mon, 10 Sep 2012 12:07:42 +0000 (14:07 +0200)]
box: Fix typo

https://bugzilla.gnome.org/show_bug.cgi?id=683718

13 years agoUpdated Indonesian translation
Andika Triwidada [Tue, 11 Sep 2012 16:56:14 +0000 (23:56 +0700)]
Updated Indonesian translation

13 years agoUpdated Slovenian translation
Matej Urbančič [Tue, 11 Sep 2012 16:52:18 +0000 (18:52 +0200)]
Updated Slovenian translation

13 years agoUpdated Polish translation
Piotr Drąg [Tue, 11 Sep 2012 14:41:17 +0000 (16:41 +0200)]
Updated Polish translation

13 years agoAssamese translation updated
Nilamdyuti Goswami [Tue, 11 Sep 2012 14:17:35 +0000 (19:47 +0530)]
Assamese translation updated

13 years agoAssamese translation updated
Nilamdyuti Goswami [Tue, 11 Sep 2012 14:08:29 +0000 (19:38 +0530)]
Assamese translation updated

13 years agoImplement gtk-primary-button-warps-slider GtkSetting
Kristian Rietveld [Fri, 24 Aug 2012 09:49:43 +0000 (11:49 +0200)]
Implement gtk-primary-button-warps-slider GtkSetting

Make GtkRange honor the setting and implement it in the
quartz backend, it proxies the "click in the scroll bar to"
property from the OS X PrefPane.

13 years agotests: Add test for mnemonics in GtkMenuButton
Bastien Nocera [Mon, 10 Sep 2012 16:38:35 +0000 (17:38 +0100)]
tests: Add test for mnemonics in GtkMenuButton

To check https://bugzilla.gnome.org/show_bug.cgi?id=680962

13 years agogdk: s/availible/available/
Bastien Nocera [Tue, 27 Mar 2012 09:11:13 +0000 (11:11 +0200)]
gdk: s/availible/available/

13 years agoUpdated Galician translations
Fran Diéguez [Mon, 10 Sep 2012 13:12:11 +0000 (15:12 +0200)]
Updated Galician translations

Signed-off-by: Fran Diéguez <fran.dieguez@mabishu.com>
13 years agogdk: fix GI annotation and document for {map,add}_virtual_modifiers
Daiki Ueno [Thu, 9 Aug 2012 08:51:55 +0000 (17:51 +0900)]
gdk: fix GI annotation and document for {map,add}_virtual_modifiers

https://bugzilla.gnome.org/show_bug.cgi?id=677559

13 years agoBe more strict in ignoring ineffective modifiers
Matthias Clasen [Sun, 9 Sep 2012 22:28:48 +0000 (18:28 -0400)]
Be more strict in ignoring ineffective modifiers

After my recent fix for this, nautilus was still having problems
telling keeping F10 and Shift-F10 apart. With this change, we are
treating levels with the same symbol like inactive levels, ignoring
them entirely.

13 years agowidget-factory: Add a second page
Matthias Clasen [Sun, 9 Sep 2012 20:02:15 +0000 (16:02 -0400)]
widget-factory: Add a second page

The widget-factory was pretty much overflowing, so I've
made it page, and started to fill the second page with
vertical spin buttons. New examples and widgets should
be added to page 2 now.

13 years agoUpdate French translation
Alexandre Franke [Sun, 9 Sep 2012 18:49:05 +0000 (20:49 +0200)]
Update French translation

13 years agoUpdated Portuguese translation
Duarte Loreto [Sun, 9 Sep 2012 00:36:18 +0000 (01:36 +0100)]
Updated Portuguese translation

13 years agoUpdated Portuguese translation
Duarte Loreto [Sun, 9 Sep 2012 00:33:37 +0000 (01:33 +0100)]
Updated Portuguese translation

13 years agoUpdated Korean translation
Changwoo Ryu [Sat, 8 Sep 2012 20:20:59 +0000 (05:20 +0900)]
Updated Korean translation

13 years agoUpdated Slovenian translation
Martin Srebotnjak [Sat, 8 Sep 2012 19:31:21 +0000 (21:31 +0200)]
Updated Slovenian translation

13 years agol10n: Updated Persian translation
Arash Mousavi [Sat, 8 Sep 2012 11:09:49 +0000 (15:39 +0430)]
l10n: Updated Persian translation

13 years agoUpdated properties Lithuanian translation
Aurimas Černius [Fri, 7 Sep 2012 17:14:27 +0000 (20:14 +0300)]
Updated properties Lithuanian translation

13 years agoUpdated Belarusian translation.
Ihar Hrachyshka [Fri, 7 Sep 2012 15:22:32 +0000 (18:22 +0300)]
Updated Belarusian translation.

13 years agoUpdated Hebrew translation.
Yaron Shahrabani [Fri, 7 Sep 2012 13:51:05 +0000 (16:51 +0300)]
Updated Hebrew translation.

13 years agoUpdated Hebrew translation.
Yaron Shahrabani [Fri, 7 Sep 2012 13:49:39 +0000 (16:49 +0300)]
Updated Hebrew translation.

13 years agoUpdated Serbian translation
Мирослав Николић [Fri, 7 Sep 2012 06:20:47 +0000 (08:20 +0200)]
Updated Serbian translation

13 years agoUpdated Serbian translation
Мирослав Николић [Fri, 7 Sep 2012 06:05:46 +0000 (08:05 +0200)]
Updated Serbian translation

13 years agoUpdated Slovenian translation
Matej Urbančič [Thu, 6 Sep 2012 19:05:47 +0000 (21:05 +0200)]
Updated Slovenian translation

13 years agoUpdated Hungarian translation
Gabor Kelemen [Thu, 6 Sep 2012 12:38:17 +0000 (14:38 +0200)]
Updated Hungarian translation

13 years agoprinting: Don't load custom paper sizes in file backend
Marek Kasik [Thu, 6 Sep 2012 09:52:22 +0000 (11:52 +0200)]
printing: Don't load custom paper sizes in file backend

Resolves #683474.

13 years agoUpdated Hungarian translation
Gabor Kelemen [Thu, 6 Sep 2012 12:02:23 +0000 (14:02 +0200)]
Updated Hungarian translation

13 years agoUpdated Indonesian translation
Dirgita [Thu, 6 Sep 2012 03:55:25 +0000 (10:55 +0700)]
Updated Indonesian translation

13 years agoUpdated Greek translations
Tom Tryfonidis [Wed, 5 Sep 2012 23:55:10 +0000 (02:55 +0300)]
Updated Greek translations

13 years agoUpdated British English translation
Bruce Cowan [Wed, 5 Sep 2012 13:11:55 +0000 (14:11 +0100)]
Updated British English translation

13 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Chao-Hsiung Liao [Wed, 5 Sep 2012 12:11:59 +0000 (20:11 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)